package com.yanqu.road.entity.log.cross.commonteam;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * 队长操作日志
 */
@FieldTypeAnnotation(tableName = "t_c_log_common_team_leader_op", autoSave = true, isCross = true)
public class LogCrossCommonTeamLeaderOp {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "分组ID", isIndex = true)
    private int groupId;

    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "队伍ID")
    private int teamId;

    @FieldTypeAnnotation(desc = "操作，1：同意，2：踢出")
    private int op;

    @FieldTypeAnnotation(desc = "被操作玩家id")
    private long targetUserId;

    @FieldTypeAnnotation(desc = "创建时间")
    private long createTime;

    public LogCrossCommonTeamLeaderOp() {
    }

    public LogCrossCommonTeamLeaderOp(int activityId, int groupId, long userId, int teamId, int op, long targetUserId) {
        this.activityId = activityId;
        this.groupId = groupId;
        this.userId = userId;
        this.teamId = teamId;
        this.op = op;
        this.targetUserId = targetUserId;
        this.createTime = System.currentTimeMillis();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getTeamId() {
        return teamId;
    }

    public void setTeamId(int teamId) {
        this.teamId = teamId;
    }

    public int getOp() {
        return op;
    }

    public void setOp(int op) {
        this.op = op;
    }

    public long getTargetUserId() {
        return targetUserId;
    }

    public void setTargetUserId(long targetUserId) {
        this.targetUserId = targetUserId;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }
}
